﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MPBlog.Model
{
    public class Article:BaseEntity
    {
        public virtual string Title { get; set; }
        public virtual string Content { get; set; }
        public virtual string Author { get; set; }

        /// <summary>
        /// 文章TAG
        /// </summary>
        public virtual string Tags { get; set; }

        /// <summary>
        /// 分类Id
        /// </summary>
        public virtual int CategoryId { get; set; }

        /// <summary>
        /// 发布日期
        /// </summary>
        public virtual DateTime PublishTime { get; set; }

        /// <summary>
        /// 阅读次数
        /// </summary>
        public virtual int ReadCount { get; set; }

        /// <summary>
        /// 可见级别(0：全部可见,1仅自己可见)
        /// </summary>
        public virtual int VisibleLevel { get; set; }
    }
}
